﻿// --------------------------------------------------------------------------------------------------------------------
// <copyright file="ICommandView.cs" company="">
//   
// </copyright>
// <summary>
//   The CommandView interface.
// </summary>
// --------------------------------------------------------------------------------------------------------------------

namespace Libium.Views
{
    using System;

    /// <summary>
    ///   The CommandView interface.
    /// </summary>
    public interface ICommandView : ITextView
    {
        #region Public Events

        /// <summary>
        ///   The execute.
        /// </summary>
        event Action<ICommandView> Execute;

        #endregion

        #region Public Properties

        /// <summary>
        ///   Gets or sets the name.
        /// </summary>
        string Name { get; set; }

        /// <summary>
        ///   Gets or sets the tooltip.
        /// </summary>
        string Tooltip { get; set; }

        #endregion
    }
}